// 代码块
import {
  observable,
  action
} from 'mobx-miniprogram'
export const store = observable({
  //数据字段 - 类似于vuex中的state
  strategy:{},
  
  //actions
  updatestrategy: action(function (strategy) {
    this.strategy={...strategy}
  })
})